package org.dromara.iot.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import org.dromara.iot.domain.IotUpkeepProject;

import java.io.Serial;
import java.io.Serializable;


/**
 * 电梯保养项目视图对象 iot_upkeep_project
 *
 * @author lsl
 * @date 2024-06-14
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = IotUpkeepProject.class)
public class IotUpkeepProjectVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 项目ID
     */
    @ExcelProperty(value = "项目ID")
    private Long projectId;

    /**
     * 关联模板ID
     */
    @ExcelProperty(value = "关联模板ID")
    private Long templateId;

    /**
     * 保养项名称
     */
    @ExcelProperty(value = "保养项名称")
    private String projectName;

    /**
     * 保养项要求
     */
    @ExcelProperty(value = "保养项要求")
    private String projectRequire;

    /**
     * 保养项类型（1.机房、2.层站、3.轿厢、4.井道）
     */
    @ExcelProperty(value = "保养项类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(readConverterExp = "1=.机房、2.层站、3.轿厢、4.井道")
    private String projectType;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;


}
